package org.skipper.logback.logger;

import org.slf4j.Marker;
import org.slf4j.MarkerFactory;

/**
 * @author:booker
 * @since:2020/12/03 17:01
 * Description:duubo
 */
public class LoggerMarker {
    public final static String ACCESS_LOG = "access_log";
    public final static String EXCEPTION_LOG = "exception_log";
    public final static String DEPRECATED_LOG = "deprecated_log";
    public final static String SLOW_LOG = "slow_log";

    public static Marker getMarker(String name) {
        return MarkerFactory.getMarker("[" + name + "]。");
    }
}